package com.comut.crud.pojo.mobile;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Issue: IFL-1566
 *
 * @author Vitor Borrego
 */
@XmlRootElement()
@XmlAccessorType(XmlAccessType.FIELD)
public class VehicleInfo implements Serializable {
    //@XmlElement(name = "id")
    private Integer id;
    //@XmlElement(name = "vi")
    private Integer vehicleIcon;
   // @XmlElement(name = "r")
    private String reference;
    //@XmlElement(name = "cp")
    private String carPlate;
    //@XmlElement(name = "tg")
    private String tag;
    //@XmlElement(name = "ll")
    private String local;
    //@XmlElement(name = "sd")
    private int speed;
    //@XmlElement(name = "ro")
    private int route;
    //@XmlElement(name = "lt")
    private Integer[] loadTemperature; // index 0 to n , where index+1 is the probe number
    //@XmlElement(name = "re")
    private String relatedEvents;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the vehicleIcon
     */
    public Integer getVehicleIcon() {
        return vehicleIcon;
    }

    /**
     * @param vehicleIcon the vehicleIcon to set
     */
    public void setVehicleIcon(Integer vehicleIcon) {
        this.vehicleIcon = vehicleIcon;
    }

    /**
     * @return the reference
     */
    public String getReference() {
        return reference;
    }

    /**
     * @param reference the reference to set
     */
    public void setReference(String reference) {
        this.reference = reference;
    }

    /**
     * @return the carPlate
     */
    public String getCarPlate() {
        return carPlate;
    }

    /**
     * @param carPlate the carPlate to set
     */
    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    /**
     * @return the tags
     */
    public String getTag() {
        return tag;
    }

    /**
     * @param tags the tags to set
     */
    public void setTag(String tags) {
        this.tag = tags;
    }

    /**
     * @return the local
     */
    public String getLocal() {
        return local;
    }

    /**
     * @param local the local to set
     */
    public void setLocal(String local) {
        this.local = local;
    }

    /**
     * @return the speed
     */
    public int getSpeed() {
        return speed;
    }

    /**
     * @param speed the speed to set
     */
    public void setSpeed(int speed) {
        this.speed = speed;
    }

    /**
     * @return the route
     */
    public int getRoute() {
        return route;
    }

    /**
     * @param route the route to set
     */
    public void setRoute(int route) {
        this.route = route;
    }

    /**
     * @return the loadTemperature
     */
    public Integer[] getLoadTemperature() {
        return loadTemperature;
    }

    /**
     * @param loadTemperature the loadTemperature to set
     */
    public void setLoadTemperature(Integer[] loadTemperature) {
        this.loadTemperature = loadTemperature;
    }

    /**
     * @return the relatedEvents
     */
    public String getRelatedEvents() {
        return relatedEvents;
    }

    /**
     * @param relatedEvents the relatedEvents to set
     */
    public void setRelatedEvents(String relatedEvents) {
        this.relatedEvents = relatedEvents;
    }
}
